package fr.epri.util;

public final class UserUtil {

    private static volatile UserUtil instance = null;
    private String user;

    private UserUtil() {
        super();
    }

    public final static UserUtil getInstance() {
        if (UserUtil.instance == null) {
            synchronized (UserUtil.class) {
                if (UserUtil.instance == null) {
                    UserUtil.instance = new UserUtil();
                }
            }
        }
        return UserUtil.instance;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }
}